/**cesium 工具按钮栏*/
.cesium-viewer-toolbar {
  top: auto !important;
  bottom: 35px !important;
  left: 12px !important;
  right: auto !important;
}

.cesium-toolbar-button img {
  height: 100%;
}

.cesium-viewer-toolbar>.cesium-toolbar-button,
.cesium-navigationHelpButton-wrapper,
.cesium-viewer-geocoderContainer {
  margin-bottom: 5px;
  float: left;
  clear: both;
  text-align: center;
}

.cesium-button {
  background-color: @mars-bg-base;
  color: #e6e6e6;
  fill: #e6e6e6;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  line-height: 32px;
}

.cesium-button:hover {
  background: @mars-hover-btn-bg;
}

/**cesium 底图切换面板*/
.cesium-baseLayerPicker-dropDown {
  bottom: 0;
  left: 40px;
  max-height: 700px;
  margin-bottom: 5px;
  background-color: @mars-bg-base;
}

/**cesium 帮助面板*/
.cesium-navigation-help {
  top: auto;
  bottom: 0;
  left: 40px;
  transform-origin: left bottom;
  background: none;
  background-color: @mars-bg-base;

  .cesium-navigation-help-instructions {
    background: none;
  }

  .cesium-navigation-button {
    background: none;
  }

  .cesium-navigation-button-selected,
  .cesium-navigation-button-unselected:hover {
    background: @mars-select-bg;
  }
}

/**cesium 二维三维切换*/
.cesium-sceneModePicker-wrapper {
  width: auto;
}

.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-dropDown-icon {
  float: right;
  margin: 0 3px;
}

/**cesium POI查询输入框*/
.cesium-viewer-geocoderContainer .search-results {
  left: 0;
  right: 40px;
  width: auto;
  z-index: 9999;
}

.cesium-geocoder-searchButton {
  background-color: @mars-bg-base;
}

.cesium-viewer-geocoderContainer .cesium-geocoder-input {
  background-color: rgba(63, 72, 84, 0.7);
}

.cesium-viewer-geocoderContainer .cesium-geocoder-input:focus {
  background-color: rgba(63, 72, 84, 0.9);
}

.cesium-viewer-geocoderContainer .search-results {
  background-color: @mars-bg-base;
}

/**cesium info信息框*/
.cesium-infoBox {
  top: 50px;
  background-color: @mars-bg-base;
}

.cesium-infoBox-title {
  background-color: @mars-bg-base;
}

/**cesium 任务栏的FPS信息*/
.cesium-performanceDisplay-defaultContainer {
  top: auto;
  bottom: 35px;
  right: 50px;
}

.cesium-performanceDisplay-ms,
.cesium-performanceDisplay-fps {
  color: #fff;
}

/**cesium tileset调试信息面板*/
.cesium-viewer-cesiumInspectorContainer {
  top: 10px;
  left: 10px;
  right: auto;
}

.cesium-cesiumInspector {
  background-color: @mars-bg-base;
}

/**覆盖mars3d内部控件的颜色等样式*/
.mars3d-compass .mars3d-compass-outer {
  fill: @mars-bg-base;
}

.mars3d-contextmenu-ul,
.mars3d-sub-menu {
  background-color: @mars-bg-base;

  >li>a:hover,
  >li>a:focus,
  >li>.active {
    background-color: @mars-hover-btn-bg;
  }

  >.active>a,
  >.active>a:hover,
  >.active>a:focus {
    background-color: @mars-hover-btn-bg;
  }
}

/* Popup样式*/
.mars3d-popup-color {
  color: @mars-base-color;
}

.mars3d-popup-background {
  background: @mars-bg-base;
}

.mars3d-popup-content {
  margin: 15px;
}

.mars3d-popup-btn-custom {
  padding: 3px 10px;
  border: 1px solid #209ffd;
  background: #209ffd1c;
  color: #fff;
}

.mars3d-tooltip {
  background: @mars-bg-base;
  border: 1px solid @mars-bg-base;
}

.mars3d-tooltip-top:before {
  border-top-color: @mars-bg-base;
}

.mars3d-tooltip-bottom:before {
  border-bottom-color: @mars-bg-base;
}

.mars3d-tooltip-left:before {
  border-left-color: @mars-bg-base;
}

.mars3d-tooltip-right:before {
  border-right-color: @mars-bg-base;
}



/* all 中的html样式 */
.mars3d-template-titile {
  color: @mars-base-color;
  border-bottom: 1px solid @mars-hover-btn-bg;
  padding-bottom: 5px;

  a {
    font-size: 16px;
    color: @mars-msg-title-color;
    padding: 0 20px 0 0;
  }
}


.mars3d-template-content {
  label {
    padding-right: 6px;
  }

  input {
    color: @mars-base-color;
    background-color: transparent !important;
    padding: 4px 5px;
    outline: none;
  }

  input::placeholder {
    color: #cdcdcd !important;
  }

  textarea {
    color: @mars-base-color;
    background-color: transparent !important;
    padding: 4px 5px;
    outline: none;
  }

  textarea::placeholder {
    color: #cdcdcd !important;
  }
}
